﻿using UnityEngine;
using System.Collections;

public class OnScreenEnemyDamage : OnScreenMessage
{
    private int dmg;

    public int Dmg
    {
        get { return dmg; }
        set { dmg = value; }
    }

    // Use this for initialization
    protected override void Start()
    {
        base.Start();
    }

    // Update is called once per frame
    protected override void Update()
    {
        base.Update();
    }

    protected override void printMessage()
    {
        GUI.Label(new Rect(screenPos.x, screenPos.y, 50, 50), Dmg + "", style);
    }
}
